﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Storage.EntityModels
{
    #region VehicleTypes

    /// <summary>
    /// Enumeration for the different kinds of vehicles.
    /// </summary>
    public enum VehicleTypes
    {
        Car,
        Motorcycle,
        Bike,
        Train,
        Ship,
        Airplane
    }

    #endregion

    #region Vehicle
    
    public partial class Vehicle
    {
        #region Public properties: VehicleClass

        /// <summary>
        /// Gets or sets the vehicle class.
        /// </summary>
        public VehicleTypes VehicleClass
        {
            get
            {
                return (VehicleTypes)Class;
            }
            set
            {
                Class = (int)value;
            }
        }

        #endregion
    } 

    #endregion
}
